inherited FRelatorioPosicaoNF: TFRelatorioPosicaoNF
  Left = 184
  Top = 114
  Width = 861
  Height = 480
  Caption = 'VENDAS \ FATURAMENTO \ RELAT'#211'RIOS '
  OldCreateOrder = True
  PixelsPerInch = 96
  TextHeight = 16
  inherited Panel1: TPanel
    Top = 20
    Width = 853
  end
  inherited Panel2: TPanel
    Width = 853
    Height = 20
    Caption = 'POSI'#199#195'O DAS NOTAS FISCAIS'
    Font.Style = [fsBold]
    ParentFont = False
  end
  inherited GroupBox1: TGroupBox
    Top = 49
    Height = 390
    object Label10: TLabel
      Left = 9
      Top = 15
      Width = 62
      Height = 16
      Caption = 'Empresas'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentFont = False
    end
    object Label4: TLabel
      Left = 9
      Top = 124
      Width = 67
      Height = 16
      Caption = 'Cliente (F8)'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label11: TLabel
      Left = 9
      Top = 166
      Width = 102
      Height = 16
      Caption = 'Tipo de Opera'#231#227'o'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label51: TLabel
      Left = 9
      Top = 206
      Width = 36
      Height = 16
      Caption = 'CFOP'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label24: TLabel
      Left = 182
      Top = 250
      Width = 72
      Height = 16
      Caption = 'Produto (F8)'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label66: TLabel
      Left = 9
      Top = 249
      Width = 72
      Height = 16
      Caption = 'Cod Produto'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label14: TLabel
      Left = 95
      Top = 249
      Width = 68
      Height = 16
      Caption = 'Ref Produto'
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object CLBEmpresas: TCheckListBox
      Left = 9
      Top = 34
      Width = 497
      Height = 36
      Columns = 1
      ItemHeight = 16
      TabOrder = 0
    end
    object GBEmissao: TGroupBox
      Left = 9
      Top = 70
      Width = 281
      Height = 54
      Caption = '  Emiss'#227'o  '
      Ctl3D = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ParentCtl3D = False
      ParentFont = False
      TabOrder = 1
      object Label5: TLabel
        Left = 10
        Top = 22
        Width = 18
        Height = 16
        Caption = 'De'
      end
      object Label6: TLabel
        Left = 146
        Top = 22
        Width = 8
        Height = 16
        Caption = #224
      end
      object DtPeriodo1: TDateEdit
        Left = 31
        Top = 22
        Width = 109
        Height = 23
        ButtonWidth = 26
        NumGlyphs = 2
        TabOrder = 0
      end
      object DtPeriodo2: TDateEdit
        Left = 161
        Top = 22
        Width = 110
        Height = 23
        ButtonWidth = 26
        NumGlyphs = 2
        TabOrder = 1
      end
    end
    object DBLCBCliente: TDBLookupComboBox
      Left = 9
      Top = 143
      Width = 498
      Height = 22
      Ctl3D = False
      KeyField = 'CLI_CODIGO'
      ListField = 'CLI_RAZAO'
      ListSource = DSCliente
      ParentCtl3D = False
      TabOrder = 2
      OnEnter = DBLCBClienteEnter
      OnKeyDown = DBLCBClienteKeyDown
    end
    object DBLCBTipoVenda: TDBLookupComboBox
      Left = 9
      Top = 185
      Width = 498
      Height = 22
      Ctl3D = False
      DataField = 'NF_TIPOVENDA'
      KeyField = 'TIPVEND_CODIGO'
      ListField = 'cod_descricao'
      ListSource = DSTipoVenda
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 3
      OnEnter = DBLCBClienteEnter
      OnKeyDown = DBLCBTipoVendaKeyDown
    end
    object DBLCFOP: TDBLookupComboBox
      Left = 9
      Top = 225
      Width = 498
      Height = 22
      Ctl3D = False
      DataField = 'NF_CFOPNF'
      KeyField = 'CFOP_CODIGO'
      ListField = 'COD_DESCRICAO'
      ListSource = DSCFOP
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 4
      OnEnter = DBLCBClienteEnter
      OnKeyDown = DBLCFOPKeyDown
    end
    object RGSituacaoNF: TRadioGroup
      Left = 295
      Top = 70
      Width = 212
      Height = 55
      Caption = '  Situa'#231#227'o  '
      Columns = 2
      Ctl3D = False
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'MS Sans Serif'
      Font.Style = []
      ItemIndex = 3
      Items.Strings = (
        'N'#227'o Emitida'
        'Emitida'
        'Cancelada'
        'Todas')
      ParentCtl3D = False
      ParentFont = False
      TabOrder = 5
    end
    object GroupBox3: TGroupBox
      Left = 9
      Top = 297
      Width = 499
      Height = 89
      Caption = '  Fechamento  '
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -13
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      TabOrder = 6
      object Panel3: TPanel
        Left = 1
        Top = 17
        Width = 249
        Height = 71
        Align = alLeft
        Alignment = taLeftJustify
        TabOrder = 0
        object Label3: TLabel
          Left = 6
          Top = 6
          Width = 100
          Height = 16
          Caption = 'Gerar cobran'#231'a ?'
        end
        object RBCobSim: TRadioButton
          Left = 6
          Top = 28
          Width = 54
          Height = 21
          Caption = 'Sim'
          TabOrder = 0
        end
        object RBCobNao: TRadioButton
          Left = 6
          Top = 48
          Width = 54
          Height = 21
          Caption = 'N'#227'o'
          TabOrder = 1
        end
        object RBCobTodos: TRadioButton
          Left = 57
          Top = 28
          Width = 73
          Height = 21
          Caption = 'Todos'
          Checked = True
          TabOrder = 2
          TabStop = True
        end
        object RBCobDiferenteTOperacao: TRadioButton
          Left = 57
          Top = 48
          Width = 198
          Height = 21
          Caption = 'Diferente do Tipo Opera'#231#227'o'
          TabOrder = 3
        end
      end
      object Panel4: TPanel
        Left = 250
        Top = 17
        Width = 248
        Height = 71
        Align = alRight
        Alignment = taLeftJustify
        TabOrder = 1
        object Label7: TLabel
          Left = 6
          Top = 6
          Width = 112
          Height = 16
          Caption = 'Atualizar estoque ?'
        end
        object RBEstSim: TRadioButton
          Left = 6
          Top = 28
          Width = 54
          Height = 21
          Caption = 'Sim'
          TabOrder = 0
        end
        object RBEstNao: TRadioButton
          Left = 6
          Top = 48
          Width = 54
          Height = 21
          Caption = 'N'#227'o'
          TabOrder = 1
        end
        object RBEstTodos: TRadioButton
          Left = 57
          Top = 28
          Width = 73
          Height = 21
          Caption = 'Todos'
          Checked = True
          TabOrder = 2
          TabStop = True
        end
        object RBEstDiferenteTOperacao: TRadioButton
          Left = 57
          Top = 48
          Width = 185
          Height = 21
          Caption = 'Diferente do Tipo Opera'#231#227'o'
          TabOrder = 3
        end
      end
    end
    object DBLCBProdutoMercadoria: TDBLookupComboBox
      Left = 182
      Top = 267
      Width = 326
      Height = 22
      Hint = '(F3) Visualizar Descri'#231#227'o - (F7) Todos - (F8) Cliente'
      Ctl3D = False
      DataField = 'ITENSNF_PRODUTO'
      KeyField = 'PROD_CODIGO'
      ListField = 'PROD_DESCRICAOSAI'
      ListSource = DSProduto_Mercadoria
      ParentCtl3D = False
      ParentShowHint = False
      ShowHint = True
      TabOrder = 7
      OnEnter = DBLCBClienteEnter
      OnKeyDown = DBLCBProdutoMercadoriaKeyDown
    end
    object EdCodProdutoMercadoria: TEdit
      Left = 9
      Top = 267
      Width = 80
      Height = 22
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 8
      OnExit = EdCodProdutoMercadoriaExit
    end
    object EdRefProdutoMercadoria: TEdit
      Left = 95
      Top = 267
      Width = 80
      Height = 22
      Ctl3D = False
      ParentCtl3D = False
      TabOrder = 9
      OnExit = EdRefProdutoMercadoriaExit
    end
  end
  inherited GroupBox2: TGroupBox
    Top = 49
    Height = 390
    inherited Bevel1: TBevel
      Top = 285
    end
    inherited Label2: TLabel
      Top = 265
    end
    inherited rbRelatorio: TRadioButton
      Top = 295
    end
    inherited rbExcel: TRadioButton
      Top = 314
    end
    inherited rbPDF: TRadioButton
      Top = 334
    end
    inherited btnExecutar: TBitBtn
      Top = 351
    end
  end
  inherited RLReport: TRLReport
    Left = 42
    Top = 468
    DataSource = DSPesquisa
    inherited RLBand1: TRLBand
      inherited RLMemo: TRLMemo
        Left = 392
        Top = 71
        Height = 14
      end
    end
    object RLBand2: TRLBand
      Left = 38
      Top = 120
      Width = 718
      Height = 43
      BandType = btColumnHeader
      Borders.Sides = sdCustom
      Borders.DrawLeft = False
      Borders.DrawTop = False
      Borders.DrawRight = False
      Borders.DrawBottom = True
      Borders.FixedBottom = True
      object RLLabel1: TRLLabel
        Left = 0
        Top = 0
        Width = 50
        Height = 16
        Caption = 'C'#243'd NF'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel2: TRLLabel
        Left = 59
        Top = 0
        Width = 54
        Height = 16
        Caption = 'N'#250'mero'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel4: TRLLabel
        Left = 130
        Top = 0
        Width = 33
        Height = 16
        Caption = 'S'#234'lo'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel3: TRLLabel
        Left = 245
        Top = 0
        Width = 56
        Height = 16
        Alignment = taCenter
        Caption = 'Emiss'#227'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel5: TRLLabel
        Left = 324
        Top = 0
        Width = 60
        Height = 16
        Caption = 'Situa'#231#227'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel6: TRLLabel
        Left = 410
        Top = 0
        Width = 39
        Height = 16
        Caption = 'Fech.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel7: TRLLabel
        Left = 455
        Top = 0
        Width = 49
        Height = 16
        Caption = 'Cliente'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel8: TRLLabel
        Left = 838
        Top = 0
        Width = 38
        Height = 16
        Alignment = taRightJustify
        Caption = 'Valor'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel9: TRLLabel
        Left = 158
        Top = 20
        Width = 63
        Height = 16
        Caption = 'C'#243'd Prod'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel10: TRLLabel
        Left = 228
        Top = 20
        Width = 73
        Height = 16
        Caption = 'Referencia'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel11: TRLLabel
        Left = 310
        Top = 20
        Width = 66
        Height = 16
        Caption = 'Descri'#231#227'o'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel12: TRLLabel
        Left = 734
        Top = 20
        Width = 51
        Height = 16
        Caption = 'Vr Unit.'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel13: TRLLabel
        Left = 832
        Top = 20
        Width = 42
        Height = 16
        Caption = 'Vr Tot'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object RLLabel14: TRLLabel
        Left = 665
        Top = 20
        Width = 26
        Height = 16
        Caption = 'Qtd'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clBlack
        Font.Height = -13
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
    end
    object RLGroup1: TRLGroup
      Left = 38
      Top = 163
      Width = 718
      Height = 56
      DataFields = 'NF_CODIGO'
      object RLBand3: TRLBand
        Left = 0
        Top = 0
        Width = 718
        Height = 21
        BandType = btColumnHeader
        Borders.Sides = sdCustom
        Borders.DrawLeft = False
        Borders.DrawTop = True
        Borders.DrawRight = False
        Borders.DrawBottom = False
        Borders.FixedTop = True
        object RLDBText2: TRLDBText
          Left = 0
          Top = 0
          Width = 50
          Height = 17
          AutoSize = False
          DataField = 'NF_CODIGO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object RLDBText3: TRLDBText
          Left = 59
          Top = 0
          Width = 101
          Height = 16
          DataField = 'NF_NUMERONF'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          BeforePrint = RLDBText3BeforePrint
        end
        object RLDBText10: TRLDBText
          Left = 130
          Top = 0
          Width = 119
          Height = 16
          DataField = 'NF_NUMEROSELO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          BeforePrint = RLDBText10BeforePrint
        end
        object RLDBText11: TRLDBText
          Left = 233
          Top = 0
          Width = 84
          Height = 17
          Alignment = taCenter
          AutoSize = False
          DataField = 'NF_DATAEMISSAO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object RLDBText12: TRLDBText
          Left = 324
          Top = 0
          Width = 78
          Height = 17
          AutoSize = False
          DataField = 'NF_DATAEMISSAO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
          BeforePrint = RLDBText12BeforePrint
        end
        object RLDBText13: TRLDBText
          Left = 410
          Top = 0
          Width = 38
          Height = 17
          AutoSize = False
          DataField = 'NF_COBRANCA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object RLDBText14: TRLDBText
          Left = 455
          Top = 0
          Width = 334
          Height = 17
          AutoSize = False
          DataField = 'CLI_RAZAO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
        object RLDBText15: TRLDBText
          Left = 794
          Top = 0
          Width = 84
          Height = 17
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'NF_VALORFINALNOTA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = [fsBold]
          ParentFont = False
        end
      end
      object RLBand4: TRLBand
        Left = 0
        Top = 21
        Width = 718
        Height = 21
        object RLDBText5: TRLDBText
          Left = 310
          Top = 0
          Width = 331
          Height = 17
          AutoSize = False
          DataField = 'PROD_DESCRICAOENT'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText4: TRLDBText
          Left = 158
          Top = 0
          Width = 66
          Height = 17
          AutoSize = False
          DataField = 'PROD_CODIGO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText6: TRLDBText
          Left = 228
          Top = 0
          Width = 77
          Height = 17
          AutoSize = False
          DataField = 'PROD_REFERENCIA'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText7: TRLDBText
          Left = 645
          Top = 0
          Width = 47
          Height = 17
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'ITENSNF_QUANTIDADE'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText8: TRLDBText
          Left = 704
          Top = 0
          Width = 82
          Height = 17
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'ITENSNF_VALORUNITARIO'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
        object RLDBText9: TRLDBText
          Left = 794
          Top = 0
          Width = 82
          Height = 17
          Alignment = taRightJustify
          AutoSize = False
          DataField = 'ITENSNF_VALORTOTAL'
          DataSource = DSPesquisa
          Font.Charset = DEFAULT_CHARSET
          Font.Color = clBlack
          Font.Height = -13
          Font.Name = 'Arial'
          Font.Style = []
          ParentFont = False
        end
      end
    end
  end
  inherited QPesquisa: TQuery
    Left = 608
  end
  inherited DSPesquisa: TDataSource
    Left = 704
    Top = 222
  end
  object QCFOP: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select CFOP.*,'
      
        '           CFOP_CODIGOFISCAL || '#39' - '#39' || CFOP_DESCRICAO AS COD_D' +
        'ESCRICAO'
      ' From CFOP'
      'order By CFOP_CODIGOFISCAL')
    Left = 189
    Top = 60
  end
  object DSCFOP: TDataSource
    DataSet = QCFOP
    Left = 208
    Top = 96
  end
  object DSCliente: TDataSource
    DataSet = DMGestao.QCliente
    Left = 432
    Top = 104
  end
  object QTipoVenda: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select TipoVenda.*,'
      
        'TIPVEND_CODIGOVENDA || '#39' - '#39' || TIPVEND_DESCRICAO as cod_descric' +
        'ao'
      ' From TipoVenda'
      'order By TIPVEND_CODIGOVENDA')
    Left = 101
    Top = 152
  end
  object DSTipoVenda: TDataSource
    DataSet = QTipoVenda
    Left = 152
    Top = 160
  end
  object QProduto_Mercadoria: TQuery
    DatabaseName = 'base'
    SQL.Strings = (
      'Select * From produto where PROD_TIPO = 0'
      'order By Prod_DescricaoSai')
    Left = 644
    Top = 236
  end
  object DSProduto_Mercadoria: TDataSource
    DataSet = QProduto_Mercadoria
    OnDataChange = DSProduto_MercadoriaDataChange
    Left = 691
    Top = 252
  end
end
